package com.wicket.okrapp.biz.service.dto.common;

import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;

/**
 * @desc TopPlanSwitchDeptMenuDto
 * @使用场景
 */
@Data
public class TopPlanSwitchDeptMenuDto extends BaseDto implements Serializable {

  /**
   * 被评对象目标周期ID
   */
  @ApiModelProperty("被评对象目标周期ID")
  private String evaObjTargetCycleId;

  /**
   * 被评对象内容表主键ID
   */
  @ApiModelProperty("被评对象内容表主键ID")
  private String evaObjEntityId;

  /**
   * 被评对象内容表类型编码 OMS_TARGET_CYCLE:目标周期表 OMS_EVALUATION_OBJECT_TARGET_CYCLE:被评对象目标周期表 OMS_TARGET:目标表 OMS_TARGET_CATEGORY:目标分类表 OMS_TARGET_OBJECTIVE:指标表 OMS_TASK:任务表 OMS_ORG_INDUCTION_RECORD:就职记录表 OMS_FRAMEWORK_ORIGINAL_ROLE_MEMBER:身份人员表 OMS_ORG_DEPT:部门表 OMS_BASE_HOST:宿主表 OMS_FRAMEWORK_SPACE:空间表 OMS_TSPE_CYCLE_STAGE_DATA:周期阶段资料记录 OMS_EVALUATION_TEMPLATE:评价模板 OMS_EVALUATION_PORTRAIT:评价画像表 OMS_ORG_POSITION:职务表 OMS_VIRTUAL_ORG_MEMBER:虚拟组织成员表 OMS_PLANNING:规划资料表 OMS_FRAMEWORK_USERS:个人账号表
   */
  @ApiModelProperty("被评对象内容表类型编码")
  private String evaObjTableTypeCode;

  /**
   * 被评对象类型编码 EVA_PORTRAIT:评价画像 EVA_OBJECT:评价对象 FLEVEL_OBJ_TASK_DUTY_DEPT:一级部门目标任务责任部门 OKR_SUBJECT_DEPT:OKR责任主体部门 OKR_SUBJECT_PERSONAL:OKR责任主体个人
   */
  @ApiModelProperty("被评对象类型编码")
  private String evaObjTypeCode;

  /**
   * 关联目标内容ID
   */
  @ApiModelProperty("关联目标内容ID")
  private String targetCycleContentId;

  /**
   * 树类型编码 PLAN_TREE:规划树 EVALUATION_TREE:评价树 DEP_OBJ_MIS_STA:部门目标任务书 DUTY_SUBJECT:OKR责任主体树
   */
  @ApiModelProperty("树类型编码")
  private String treeTypeCode;

  /**
   * 周期ID
   */
  @ApiModelProperty("周期ID")
  private String cycleId;

  /**
   * 周期名称
   */
  @ApiModelProperty("周期名称")
  private String cycleStandardName;

  /**
   * 周期类型名称
   */
  @ApiModelProperty("周期类型名称")
  private String cycleTypeName;

  /**
   * 目标周期简称
   */
  @ApiModelProperty("目标周期简称")
  private String cyclelAlias;

  /**
   * 是否父周期 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否父周期")
  private String isParentCycle;

  /**
   * 是否中期 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否中期")
  private String isMetaphase;

  /**
   * 是否已完成 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否已完成")
  private String isComplete;

  /**
   * 冗余评价模板ID
   */
  @ApiModelProperty("冗余评价模板ID")
  private String evaluationTemplateId;

  /**
   * 批次ID
   */
  @ApiModelProperty("批次ID")
  private String batchCode;
/**
     * 关联目标内容类型编码 TARGET:目标 TARGET_CATEGORY:目标分类 OBJECTIVE:指标
     */
    @ApiModelProperty("关联目标内容类型编码")
    private String	 targetCycleContentTypeCode;
/**
     * 是否子周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否子周期")
    private String	 isSubCycle;
/**
     * 被评对象目标周期标识
     */
    @ApiModelProperty("被评对象目标周期标识")
    private String	 evaObjTargetCycleCode;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      TopPlanSwitchDeptMenuDto that = (TopPlanSwitchDeptMenuDto) o;
      return  evaObjTargetCycleId == that.evaObjTargetCycleId&&evaObjEntityId == that.evaObjEntityId&&evaObjTableTypeCode == that.evaObjTableTypeCode&&evaObjTypeCode == that.evaObjTypeCode&&targetCycleContentId == that.targetCycleContentId&&treeTypeCode == that.treeTypeCode&&cycleId == that.cycleId&&cycleStandardName == that.cycleStandardName&&cycleTypeName == that.cycleTypeName&&cyclelAlias == that.cyclelAlias&&isParentCycle == that.isParentCycle&&isMetaphase == that.isMetaphase&&isComplete == that.isComplete&&evaluationTemplateId == that.evaluationTemplateId&&batchCode == that.batchCode&&targetCycleContentTypeCode == that.targetCycleContentTypeCode&&isSubCycle == that.isSubCycle&&evaObjTargetCycleCode == that.evaObjTargetCycleCode;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), evaObjTargetCycleId,evaObjEntityId,evaObjTableTypeCode,evaObjTypeCode,targetCycleContentId,treeTypeCode,cycleId,cycleStandardName,cycleTypeName,cyclelAlias,isParentCycle,isMetaphase,isComplete,evaluationTemplateId,batchCode,targetCycleContentTypeCode,isSubCycle,evaObjTargetCycleCode);
    }

}
